home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / COMMUNIC / 1321.ZIP / BACKMAIL.ARC / MODEMS.TXT < prev    next >
Text File  |  1988-11-11  |  16KB  |  353 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                          Customizing BackMail for your Modem
  8.                        ***************************************
  9.      
  10.           The default values in Backmail should enable it to operate with any
  11.      truly Hayes Compatible 1200 or 2400 baud modem.
  12.      
  13.           Apart from insuring that your DIP switches are set correctly, we
  14.      recommend that you use BackMail for a bit before undertaking any
  15.      customization. The default values the program uses have been chosen with
  16.      great care and work with a wide variety of modems.
  17.      
  18.           However, should you encounter problems or if your modem is non-
  19.      standard, don't despair. We have designed BackMail to allow you to alter
  20.      virtually all of the parameters that control the modems operations. So
  21.      even if you have a modem that does not conform to industry standards it
  22.      should be possible to configure the program to drive your modem.
  23.      
  24.      DIP SWITCHES
  25.      ************
  26.           Your Modem may or may not have DIP switches which may control some or
  27.      all of these functions.
  28.      
  29.      SWITCH                      SETTING
  30.      --------------------------------------------------------------------
  31.      Carrier Detect      Should be set so that Carrier is NOT always on.
  32.      
  33.      Data Terminal Ready Should be set so that DTR is NOT always on; i.e. is
  34.                          controlled by the computer.
  35.      
  36.      Verbose             Should be set so that modem produces numeric responses
  37.      
  38.      Echo                Should be set so the modem does NOT echo commands
  39.  
  40.      Auto Answer         Should be off so modem does not automatically answer
  41.                          phone
  42.      
  43.      It is most important that you have Carrier and DTR detect enabled. If your
  44.      modem does not have DIP switches for these functions then they will be set
  45.      by command strings. Check the Setting for Tech 3 to make sure that it is
  46.      the appropriate string to enable carrier and DTR. Setting of Tech settings
  47.      is described below.
  48.      
  49.      
  50.      
  51.  
  52.  
  53.  
  54.  
  55.  
  56.      MODEM RESPONSE CODES
  57.      ********************
  58.           Your modem responds to commands by sending "response codes" to your
  59.      computer. BackMail sets your modem to respond with numeric responses. These
  60.      are numbers (usually between 0-10, though we have provided up to 20) that
  61.      tell the program about the state of your modem. Responses 1-4 are standard
  62.      but, above 4, modems can mean different things by these numbers. To bring
  63.      BackMail fully en rapport with your modem you should tell the program what
  64.      these response codes mean to your modem.
  65.      
  66.      You do this by altering      +---------------------------------+
  67.      TECH SETTINGS under the      |  ** Technician Settings **      |
  68.      CHANGE SETUP menu. When      | See User's Manual for details   |
  69.      you select this function     | Enter number of item to change  |
  70.      BackMail will display this   | Esc when done (0-150):          |
  71.      prompt.                      | _                               |
  72.                                   +---------------------------------+
  73.      
  74.      You change TECH SETTINGS by entering the number of the tech setting you
  75.      want to change and entering an appropriate string or number.
  76.      
  77.           For modem response codes you will be entering numbers. Tech Settings
  78.      50-60 correspond to modem responses from 0-20. Each Tech Setting in this
  79.      range has associated with it a number which indicates its meaning to
  80.      BackMail.
  81.  
  82.           These numbers indicate the interpretation that BackMail will place
  83.      upon the corresponding modem responses and dictate what action BackMail
  84.      will take.
  85.      
  86.      Here are the BackMail Numbers and their meaning.
  87.      
  88.      | Setting |                       Interpretation
  89.      |  Value  |
  90.      ----------|--------------------------------------------------------
  91.      |    0    | 'OK': Modem has accepted a command
  92.      |    1    |  Modem has detected a Carrier at 300 Baud
  93.      |    2    |  Modem has detected a Carrier at 1200 Baud
  94.      |    3    |  Modem has detected a Carrier at 2400 Baud
  95.      |    4    |  Modem has detected your phone is ringing
  96.      |    5    |  Modem has lost or failed to detect a carrier
  97.      |    6    |  Modem has detected a Busy signal at the number you are calling
  98.      |    7    |  Modem detects a ring at the number you are calling
  99.      |    8    |  Modem has failed to detect a dial tone
  100.      |    9    |  This response code is undefined for this modem
  101.      |   10    |  Modem has found an error in some command sent to it
  102.      
  103.  
  104.  
  105.  
  106.  
  107.  
  108.      Here are the default settings which backmail uses to interpret Modem
  109.      responses 0-20.
  110.      
  111.                +--------+-----------+------------------+
  112.                | Tech   |  Modem    | Default BackMail |
  113.                | Number | Response  | Setting          |
  114.                +--------+-----------+------------------+
  115.                |  50    |    0      |         0        |
  116.                |  51    |    1      |         1        |
  117.                |  52    |    2      |         4        |
  118.                |  53    |    3      |         5        |
  119.                |  54    |    4      |        10        |
  120.                |  55    |    5      |         2        |
  121.                |  56    |    6      |         9        |
  122.                |  57    |    7      |         9        |
  123.                |  58    |    8      |         9        |
  124.                |  59    |    9      |         9        |
  125.                |  60    |   10      |         3        |
  126.                |  61    |   11      |         9        |
  127.                |  62    |   12      |         9        |
  128.                |  63    |   13      |         9        |
  129.                |  64    |   14      |         9        |
  130.                |  65    |   15      |         9        |
  131.                |  66    |   16      |         9        |
  132.                |  67    |   17      |         9        |
  133.                |  68    |   18      |         9        |
  134.                |  69    |   19      |         9        |
  135.                |  70    |   20      |         9        |
  136.                +--------+-----------+------------------+
  137.                                           
  138.      As you will see, by default, all of the modem responses from 6-20 have a
  139.      default BackMail setting of '9' which means that BackMail will do nothing
  140.      if it receives these responses. If these extended codes do mean something
  141.      to your modem then you will want to fill BackMail in by setting the
  142.      appropriate interpretation beside the tech setting that corresponds to that
  143.      tech setting.
  144.      
  145.      For example
  146.      ***********
  147.           Suppose that your modem manual tells you that your modem issues
  148.           response code "6" when it receives no dial tone and "7" when it
  149.           detects a busy signal.
  150.  
  151.           In that case you should alter Tech settings "56" and "67" to the
  152.           Backmail settings for these responses.
  153.  
  154.           Modem Response        Tech Setting      BackMail Interpretation
  155.           -----------------------------------------------------------------
  156.           6                       56                       8
  157.           7                       57                       6
  158.                                           
  159.      Sorry if all this sounds complicated. Indeed we aren't out of the woods yet
  160.      for now we have to talk about "X" settings...
  161.      
  162.  
  163.  
  164.  
  165.  
  166.  
  167.                       X SETTINGS CONTROLLING EXTENDED RESPONSES
  168.                       *****************************************
  169.  
  170.           The meaning of modem response codes above "5" are not wholly
  171.      standardized and any modem that uses these extended responses will have a
  172.      command to tell your modem which responses it will issue. These are usually
  173.      the "X1-X4" command strings.
  174.  
  175.           If your modem supports these features you will want it to  wait for
  176.      dial tone before dialing and busy signals at the far end. You won't want it
  177.      to do either of those things when it answers the phone; when answering you
  178.      just want it to play its tone music and start generating a carrier.
  179.  
  180.           To accomplish this BackMail includes an X command in its command
  181.      string when it is dialing or answering. It uses different commands
  182.      depending upon which it is doing. These "X" commands are recorded in TECH
  183.      SETTINGS 4 and 21.
  184.  
  185.           Tech Setting 4 is the setting BackMail sends when it hangs up the
  186.      phone and readies itself to receive a call.
  187.  
  188.      Tech        Function
  189.      Number
  190.      ----------------------------
  191.          4       "X" String to tell modem not wait for dial tone
  192.          21      "X" String to tell modem to  listen for dial tone & busy signal
  193.      
  194.      The default values for both these strings are "X1" which normally tells the
  195.      modem to do nothing except report the difference between 1200 and 2400 baud
  196.      carriers. For a typical fully featured modem the values might be:
  197.      
  198.      Tech        Recommended
  199.      Number        Setting           Function
  200.      ---------------------------------------------------------
  201.        4             X3       Wait for Dial tone , 1200/2400 Detect,Busy Detect
  202.        21            X1       No wait for dial tone, 1200/2400 detect
  203.      
  204.      Use the "X" settings that correspond to these values.
  205.      
  206.           Do NOT use an "X" setting if your manual tells you that in that "X-
  207.      mode" Backmail will wait for silence before dialing. You do NOT want
  208.      BackMail to do that. Do NOT use an "X" setting in Tech Number 21 if that
  209.      setting enables ring detect.
  210.      
  211.  
  212.      TURNING ON BUSY DETECT AND WAIT FOR DIAL TONE
  213.      *********************************************
  214.           If you have entered in the right response codes and "X" modes then
  215.      busy detect will already be in effect. To turn on wait for dial tone just
  216.      bring up the CHANGE SETUP MENU and select WAIT FOR DIAL TONE.
  217.      
  218.           Turning "WAIT FOR DIAL TONE" on will greatly enhance the ease with
  219.      which you can use BackMail for dialing out Voice calls. See the Manual for
  220.      details.
  221.  
  222.  
  223.  
  224.  
  225.  
  226.      DIGIT MUSIC WARNING
  227.      *****************
  228.           To turn on Digit Music Warning just select this function under the
  229.      CHANGE SETUP MENU. After you have turned this function on you should test
  230.      it to make sure that it is working successfully with your modem.
  231.  
  232.           To test it call your BackMail number or listen while BackMail answers
  233.      your phone. You should here BackMail pick up the phone, produce a tweedle
  234.      with phone touch tones and start a carrier signal shortly thereafter.
  235.  
  236.           If you hear the tweedle but don't hear a carrier start up, then what
  237.      is likely going on is that your modem is waiting for a dial tone or ring
  238.      detect before it starts its carrier. You may be able to rectify this by
  239.      checking your "X" settings. But some modems will do ring-detect no matter
  240.      what you tell them. In that case you should be solve your problem by
  241.      altering the string at Tech setting 19 from "R" to ";ATA".
  242.           
  243.           Tech 19: R (or ;ATA)
  244.           
  245.           Tech 18 contains the numbers that make up the touch tone music you
  246.      modem will play. By default it is "909090". You can alter this to create
  247.      and tune you like up to a maximum of 15 digits.
  248.      
  249.      WHICH RING TO ANSWER ON
  250.      ************************
  251.           Tech setting 73 contains a number which corresponds to the number of
  252.      rings Backmail should wait for before it answers the phone. The default is
  253.      "1" so that BackMail will answer your phone on the first ring. If you want
  254.      to give an answering machine or other people on an extension a first shot
  255.      at answering the phone you might want to increase this number.
  256.      
  257.      SLUGGISH MODEMS
  258.      ****************
  259.           Tech setting 72 contains a number which indicates how long it takes
  260.      your modem to hang up after it receives an on/off transition in the DTR
  261.      line from the computer. The default is 1 second, but if your modem seems
  262.      not to be answering the phone, or failing to connect with calling
  263.      BackMailers, then try increasing this number to 2 seconds.
  264.      
  265.      CAVEAT
  266.      *******
  267.           There are many different brands of modem on the market and they vary
  268.      widely in how well they perform. BackMail makes extensive use of all of the
  269.      features of standard modems and if the manufacturer has cut corners in
  270.      production they are more likely to show up with BackMail than with some
  271.      other less sophisticated communication programs.
  272.      
  273.           We have done *hundreds* of hours of testing with BackMail with many
  274.      different kinds of modems. There are some real turkeys out there: modems
  275.      that claim to do things that they don't, modems designed to do things no
  276.      one in their right mind would ever want them to do, and modems so flaky
  277.      that they are not good for much more than autodialing. Unsurprisingly, we
  278.      have found that modem performance is more or less directly correlated with
  279.      price. We hope that your modem wasn't too much of a bargain.
  280.  
  281.  
  282.  
  283.  
  284.  
  285.           
  286.           Of particular note are some very inexpensivie, internal 2400 baud
  287.      modems. Some of these have very great difficulty connecting with other
  288.      modems at 2400 baud and you have to set your LAG TIME (See the manual for
  289.      an explanation) to a very high value (e.g. 30 seconds). To successfully
  290.      connect with these modems.
  291.  
  292.           If you frequently get calls which BackMail identifies as voice calls
  293.      but which are really other BackMailers, or if other BackMailers have
  294.      trouble connecting with you we recommend that you use BMCONFIG.COM to set
  295.      your "ANSWER BAUD" rate to 1200 baud. If you have trouble connecting with
  296.      other modems at 2400 baud then you should reduce your "CALL BAUD" rate down
  297.      to 1200 baud. The trade off of reliability for speed is usually worth it.
  298.      
  299.      
  300.      
  301.                                 MODEM COMMAND STRINGS
  302.                                 *********************
  303.      Tech Settings 0 -22 contain the strings that are used to control the modem.
  304.  
  305.           If you encounter difficulties with BackMail controlling your modem you
  306.      may wish to change some of these after consulting your modem. Command
  307.      strings can be up to 15 characters long.
  308.  
  309.      Tech   Default
  310.      Number Value                      FUNCTION
  311.      -------------------------------------------------------------------------
  312.      0      AT       Modem attention string. Precedes all commands
  313.      1      H0       Hang up the phone
  314.      2      S9=6     Time to wait to identify carrier
  315.      3      &C1&D2   Carrier Detect and hang up on DTR enabled.
  316.      4      X3       Mode to using in calling out
  317.      5      M1       Modem speaker on
  318.      6      M0       Modem speaker off
  319.      7      Q0E0V0   Send result codes, Don't Echo Commands, Numerical responses
  320.      8      S0=0     Do NOT auto-answer
  321.      9      S7=60    Time to wait for carrier
  322.      10     DT       Touch tone dial out
  323.      11     DP       Pulse tone dialing
  324.      12     A        Answer with carrier
  325.      13     ;        Return to command state
  326.      14     D        Dial prefix
  327.      15    <CR>      Terminator for Command lines
  328.      16     W        Wait for dial tone
  329.      17     S6=2     Time to wait for dial tone
  330.      18     909090   Dial Music warning tones
  331.      19     R        Initiate carrier after picking up the phone.
  332.      20     S11=70   Rate of tone dialing
  333.      21     X1       Mode to use when dialing out
  334.      22     +++      Modem escape sequence
  335.  
  336.  
  337.  
  338.  
  339.  
  340.      ADVICE TO HACKERS
  341.      *****************
  342.           The strings associated with TECH 2 & 3 are sent to the modem every
  343.      time BackMail resets or hangs up the phone. If your modem requires special
  344.      command strings you may wish to include them here.
  345.      
  346.           If your modem does not Accept "&" commands you may wish to blank out
  347.      tech setting 3 to speed the reset of your Modem.
  348.  
  349.  
  350.  
  351.  
  352.  
  353.